<!--
 * @Descripttion: 
 * @version: 1.0
 * @Author: wuhao
 * @Date: 2021-08-25 10:37:47
 * @LastEditors: wuhao
 * @LastEditTime: 2021-08-25 15:14:57
-->
<template>
  <div id="app">
    <el-container>
      <el-header>
        <Top></Top>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <Side-Menu></Side-Menu>
        </el-aside>
        <el-main>
          <el-empty description="暂无渲染内容..."></el-empty>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Top from '@/components/top.vue'
import SideMenu from '@/components/sideMenu.vue'
export default {
  name: 'App',
  components: {
    Top,
    SideMenu
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  font-family: "楷体";
  font-size: 16px;
}
.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  /* background-color: #d3dce6; */
  color: #333;
  height: calc(100vh - 60px);
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  height: calc(100vh - 60px);
}
.el-empty {
  width: 100%;
  height: 100%;
}
body > .el-container {
  margin-bottom: 40px;
}
</style>
